from diskcache import Cache
from os import path


class Quote:
    __cache_path__ = path.join(path.expanduser('~'), 'diskcache', 'quote')

    def __init__(self):
        self.cache = Cache(self.__cache_path__)

    @property
    def get(self):
        return self.cache.get